package com.education.platform.management.vo.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotNull;

/**
* describe: 商品
* @author : tomato
* @date: 2020-06-29 10:28:07.601
**/
@ApiModel()
@Getter
@Setter
@ToString
public class GoodsUpdateVO {
    @ApiModelProperty("id")
    private Integer id;

    /**
     * 商品名称
     */
    @ApiModelProperty("商品名称")
    @NotNull(message = "名称必填")
	private String goodsName;
    /**
     * 商品类型编码
     */
    @ApiModelProperty("商品类型编码")
    @NotNull(message = "类型编码必填")
	private String goodsType;
    /**
     * 商品类型名称
     */
    @ApiModelProperty("商品类型名称")
    @NotNull(message = "类型名称必填")
	private String goodsTypeName;

    /**
     * 历史豆
     */
    @ApiModelProperty("历史豆")
    @NotNull(message = "价格必填")
	private Integer costBean;

    /**
     * 封面图片
     */
    @ApiModelProperty("封面图片")
    @NotNull(message = "封面图片不能为空")
	private String coverImage;

    /**
     * 描述
     */
    @ApiModelProperty("描述")
	private String description;

    @ApiModelProperty("推荐")
    @NotNull(message = "是否推荐不能为空")
    private Boolean recommend;
    @ApiModelProperty("是否上架")
    private Boolean publish;

    @ApiModelProperty("排序")
    private Integer sort;
    @ApiModelProperty("是否推送消息")
    private Boolean push;
}
